<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>haoml: haoml::table Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">haoml
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacehaoml.html">haoml</a></li><li class="navelem"><a class="el" href="classhaoml_1_1table.html">table</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#friends">Friends</a> &#124;
<a href="classhaoml_1_1table-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">haoml::table Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for haoml::table:</div>
<div class="dyncontent">
<div class="center"><img src="classhaoml_1_1table__inherit__graph.png" border="0" usemap="#haoml_1_1table_inherit__map" alt="Inheritance graph"/></div>
<map name="haoml_1_1table_inherit__map" id="haoml_1_1table_inherit__map">
<area shape="rect" id="node2" href="classhaoml_1_1comment.html" title="haoml::comment" alt="" coords="5,5,139,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a708dc9acd054dd776cf56821f8eee384"><td class="memItemLeft" align="right" valign="top"><a id="a708dc9acd054dd776cf56821f8eee384"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>empty</b> (void)</td></tr>
<tr class="separator:a708dc9acd054dd776cf56821f8eee384"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad06c87ac14070aafa915251756dd3246"><td class="memItemLeft" align="right" valign="top"><a id="ad06c87ac14070aafa915251756dd3246"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>show_table</b> (void)</td></tr>
<tr class="separator:ad06c87ac14070aafa915251756dd3246"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2680d9984de933949b6f919c9257704f"><td class="memItemLeft" align="right" valign="top"><a id="a2680d9984de933949b6f919c9257704f"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>erase</b> (const string &amp;key)</td></tr>
<tr class="separator:a2680d9984de933949b6f919c9257704f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fdae78359aba7b61ed01e892d68f334"><td class="memItemLeft" align="right" valign="top"><a id="a1fdae78359aba7b61ed01e892d68f334"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhaoml_1_1table.html#a1fdae78359aba7b61ed01e892d68f334">clear</a> (void)</td></tr>
<tr class="memdesc:a1fdae78359aba7b61ed01e892d68f334"><td class="mdescLeft">&#160;</td><td class="mdescRight">erase all elements <br /></td></tr>
<tr class="separator:a1fdae78359aba7b61ed01e892d68f334"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4cf1b7049be4d3ddbe1ec20a5dd2a17"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classhaoml_1_1table.html#ab4cf1b7049be4d3ddbe1ec20a5dd2a17">write</a> (const char *filename)</td></tr>
<tr class="separator:ab4cf1b7049be4d3ddbe1ec20a5dd2a17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a438f789eab48063e3632acf0d191be6e"><td class="memItemLeft" align="right" valign="top"><a id="a438f789eab48063e3632acf0d191be6e"></a>
<a class="el" href="classhaoml_1_1base.html">base</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator[]</b> (const string &amp;key)</td></tr>
<tr class="separator:a438f789eab48063e3632acf0d191be6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e1d33f0a9c1872644bd9fde5fc46c79"><td class="memItemLeft" align="right" valign="top"><a id="a2e1d33f0a9c1872644bd9fde5fc46c79"></a>
shared_ptr&lt; <a class="el" href="classhaoml_1_1base.html">base</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>index</b> (const string &amp;key)</td></tr>
<tr class="separator:a2e1d33f0a9c1872644bd9fde5fc46c79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f8c82fa15989b4945ed49728bbc0479"><td class="memItemLeft" align="right" valign="top"><a id="a9f8c82fa15989b4945ed49728bbc0479"></a>
shared_ptr&lt; <a class="el" href="classhaoml_1_1mapp.html">mapp</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>to_mapp</b> (const string &amp;key)</td></tr>
<tr class="separator:a9f8c82fa15989b4945ed49728bbc0479"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a155eb6be753faa19f2f9ce168ab49f39"><td class="memItemLeft" align="right" valign="top"><a id="a155eb6be753faa19f2f9ce168ab49f39"></a>
shared_ptr&lt; <a class="el" href="classhaoml_1_1arrayy.html">arrayy</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>to_arrayy</b> (const string &amp;key)</td></tr>
<tr class="separator:a155eb6be753faa19f2f9ce168ab49f39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13623708a0e3f7af85e8ba97c83ada5d"><td class="memItemLeft" align="right" valign="top"><a id="a13623708a0e3f7af85e8ba97c83ada5d"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>is_null</b> (const string &amp;key)</td></tr>
<tr class="separator:a13623708a0e3f7af85e8ba97c83ada5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdf755650242e2216ebac9b11f07c97e"><td class="memItemLeft" align="right" valign="top"><a id="abdf755650242e2216ebac9b11f07c97e"></a>
map&lt; string, shared_ptr&lt; <a class="el" href="classhaoml_1_1base.html">base</a> &gt; &gt;::iterator&#160;</td><td class="memItemRight" valign="bottom"><b>find</b> (string &amp;key)</td></tr>
<tr class="separator:abdf755650242e2216ebac9b11f07c97e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4878bcde5716340a5a198f300dd6ed44"><td class="memItemLeft" align="right" valign="top"><a id="a4878bcde5716340a5a198f300dd6ed44"></a>
map&lt; string, shared_ptr&lt; <a class="el" href="classhaoml_1_1base.html">base</a> &gt; &gt;::iterator&#160;</td><td class="memItemRight" valign="bottom"><b>end</b> (void)</td></tr>
<tr class="separator:a4878bcde5716340a5a198f300dd6ed44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59f3afa2105b0452466332f00fe5ff40"><td class="memItemLeft" align="right" valign="top"><a id="a59f3afa2105b0452466332f00fe5ff40"></a>
map&lt; string, shared_ptr&lt; <a class="el" href="classhaoml_1_1base.html">base</a> &gt; &gt;::iterator&#160;</td><td class="memItemRight" valign="bottom"><b>begin</b> (void)</td></tr>
<tr class="separator:a59f3afa2105b0452466332f00fe5ff40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classhaoml_1_1comment"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classhaoml_1_1comment')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classhaoml_1_1comment.html">haoml::comment</a></td></tr>
<tr class="memitem:a5868e4f9596de69cc9e2b43ac72a795a inherit pub_methods_classhaoml_1_1comment"><td class="memItemLeft" align="right" valign="top"><a id="a5868e4f9596de69cc9e2b43ac72a795a"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>set_annot</b> (const string &amp;annot)</td></tr>
<tr class="separator:a5868e4f9596de69cc9e2b43ac72a795a inherit pub_methods_classhaoml_1_1comment"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8efedda56d1d9ebb748882ca51f780e0 inherit pub_methods_classhaoml_1_1comment"><td class="memItemLeft" align="right" valign="top"><a id="a8efedda56d1d9ebb748882ca51f780e0"></a>
string &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>get_annot</b> (void)</td></tr>
<tr class="separator:a8efedda56d1d9ebb748882ca51f780e0 inherit pub_methods_classhaoml_1_1comment"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a9d3850e418d849674fd9172f4a087e62"><td class="memItemLeft" align="right" valign="top"><a id="a9d3850e418d849674fd9172f4a087e62"></a>
virtual string&#160;</td><td class="memItemRight" valign="bottom"><b>get_data</b> (void)</td></tr>
<tr class="separator:a9d3850e418d849674fd9172f4a087e62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61e35651f4d104c4f9c8a7b951562d86"><td class="memItemLeft" align="right" valign="top"><a id="a61e35651f4d104c4f9c8a7b951562d86"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>insert</b> (const string &amp;key, shared_ptr&lt; <a class="el" href="classhaoml_1_1base.html">base</a> &gt; ptr_base)</td></tr>
<tr class="separator:a61e35651f4d104c4f9c8a7b951562d86"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a36cbe293ffd51a302c536b51ae01a169"><td class="memItemLeft" align="right" valign="top"><a id="a36cbe293ffd51a302c536b51ae01a169"></a>
shared_ptr&lt; <a class="el" href="classhaoml_1_1table.html">table</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>parser::build</b> (const char *filename)</td></tr>
<tr class="separator:a36cbe293ffd51a302c536b51ae01a169"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ab4cf1b7049be4d3ddbe1ec20a5dd2a17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab4cf1b7049be4d3ddbe1ec20a5dd2a17">&#9670;&nbsp;</a></span>write()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void table::write </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>filename</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>write the whole table to a file, the file would be truncated first </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">filename</td><td>: the file name </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>none </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>haoml/<a class="el" href="haoml_8h_source.html">haoml.h</a></li>
<li>haoml/haoml.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
